package com.samoiloff.ui.btns.frame {
	import flash.display.MovieClip;

	/**
	 * @author NM Group
	 */
	public class FrameIconBtnController extends FrameEnabledBtnController {
		
		private var _iconMc: MovieClip;

		public function FrameIconBtnController(mc: MovieClip) {
			_iconMc = mc.iconMc;
			super(mc);
		}

		override public function set enabled(enabled: Boolean): void {
			_iconMc.gotoAndStop(enabled ? 1 : 2);
			super.enabled = enabled;
		}
	}
}
